package tour.factory.Table;

import android.os.Parcel;
import android.os.Parcelable;

public class AnotherOne implements Parcelable
{
	
	public AnotherOne() {
		super();
	}

	public AnotherOne(String id, String location, String name,
			String service_hours, String subTitle, String explanation,
			String address, String hoilday, String rating, String call,
			String photo, String homepage) {
		super();
		this.id = id;
		this.location = location;
		this.name = name;
		this.service_hours = service_hours;
		this.subTitle = subTitle;
		this.explanation = explanation;
		this.address = address;
		this.holiday = hoilday;
		this.rating = rating;
		this.call = call;
		this.photo = photo;
		this.homepage = homepage;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getService_hours() {
		return service_hours;
	}

	public void setService_hours(String service_hours) {
		this.service_hours = service_hours;
	}

	public String getSubTitle() {
		return subTitle;
	}

	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	public String getExplanation() {
		return explanation;
	}

	public void setExplanation(String explanation) {
		this.explanation = explanation;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getHoliday() {
		return holiday;
	}

	public void setHoliday(String holiday) {
		this.holiday = holiday;
	}

	public String getRating() {
		return rating;
	}

	public void setRating(String rating) {
		this.rating = rating;
	}

	public String getCall() {
		return call;
	}

	public void setCall(String call) {
		this.call = call;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getHomepage() {
		return homepage;
	}

	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}




	String id;
	String location;
	String name;
	String service_hours;
	String subTitle;
	String explanation;
	String address;
	String holiday;
	String rating;
	String call;
	String photo;
	String homepage;
	
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(id);
		dest.writeString(location);
		dest.writeString(name);
		dest.writeString(service_hours);
		dest.writeString(subTitle);
		dest.writeString(explanation);
		dest.writeString(address);
		dest.writeString(holiday);
		dest.writeString(rating);
		dest.writeString(call);
		dest.writeString(photo);
		dest.writeString(homepage);
		
	}
	
	
	public static final Parcelable.Creator<AnotherOne> CREATOR 
	= new Parcelable.Creator<AnotherOne>() {
		
		public AnotherOne createFromParcel(Parcel source) {
			String id=source.readString();
			String location=source.readString();
			String name=source.readString();
			String service_hours=source.readString();
			String subTitle=source.readString();
			String explanation=source.readString();
			String address=source.readString();
			String holiday=source.readString();
			String rating=source.readString();
			String call=source.readString();
			String photo=source.readString();
			String homepage=source.readString();
			
			return new AnotherOne(id, location, name, service_hours, subTitle, explanation, address, holiday, rating, call, photo, homepage);
		}

		public AnotherOne[] newArray(int size) {
			// TODO Auto-generated method stub
			return new AnotherOne[size];
		}
	};
	
	
}
